class {}

<list>
    <container key="container[]">
        <counter key="counter[]"/>
    </container>
</list>